package cn.Liujialin.pet.service.impl;


import cn.Liujialin.basic.service.impl.BeanServiceImpl;
import cn.Liujialin.pet.domain.PetDetail;
import cn.Liujialin.pet.mapper.PetDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PetDetailServiceImpl extends BeanServiceImpl<PetDetail> implements cn.Liujialin.pet.service.IPetDetailService {
    @Autowired
    private PetDetailMapper petDetailMapper;
    @Override
    public PetDetail getByPetId(Long petId) {
        return petDetailMapper.loadByPetId(petId);
    }
}
